package day5;

public class zuoye2 {

	public static void main(String[] args) {
		int jishusum = 0;
		int oushusum = 0;
		int[] scores={0,0,1,2,3,5,4,5,2,8,7,6,9,5,4,8,3,1,0,2,4,8,7,9,5,2,1,2,3,9};
		for(int i = 1;i <= scores.length - 1;i++) {
		  if(scores[i] % 2 ==0) {
		 oushusum++;
		  }else {
			  
		jishusum++;
		  }
		  }
		System.out.println("奇数有"+jishusum+"个 偶数有"+oushusum+'个');
	}
	}
	


